/**
 * @desc
 * @author JustFresh
 * @time 2021年2月17日 下午2:18:19
 */
package com.xiudoua.micro.study.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * @author JustFresh
 */
@Data
@Entity
@Table(name = "TB_USERINFO")
public class UserinfoEntity extends AbsEntity {

    @Column(name = "USERNAME")
    private String username;

    @Column(name = "PASSWORD")
    private String password;

    @Column(name = "EMAIL")
    private String email;

    public UserinfoEntity() {
    }

    public UserinfoEntity(String username, String password, String email) {
        super();
        this.username = username;
        this.password = password;
        this.email = email;
    }

    /**
     * @return the username
     */
    public String getUsername() {
        return username;
    }

    /**
     * @param username the username to set
     */
    public void setUsername(String username) {
        this.username = username;
    }

    /**
     * @return the password
     */
    public String getPassword() {
        return password;
    }

    /**
     * @param password the password to set
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * @return the email
     */
    public String getEmail() {
        return email;
    }

    /**
     * @param email the email to set
     */
    public void setEmail(String email) {
        this.email = email;
    }

}